package com.chenfan.process.event.callback;

import org.springframework.context.ApplicationEvent;

import com.chenfan.process.dto.ApprovalCallBack;

import lombok.Getter;

/**
 * @author K
 * @date 2021/1/27
 */
@Deprecated
@Getter
public class CallbackEvent extends ApplicationEvent {

    private final ApprovalCallBack approvalCallBack;
    private final String token;

    public CallbackEvent(ApprovalCallBack approvalCallBack, String token) {
        super(approvalCallBack);
        this.token = token;
        this.approvalCallBack = approvalCallBack;
    }
}
